<!-- Author: Thein Tun --> 
<!-- Last Modified: 11 Sep 2012 --> 
<?php 
session_start();
if(isset($_SESSION['register'])){
	if($_SESSION['register']=="true") {
	echo '<script language="javascript">
	alert("You have successfully registered.");				
	</script>';
	$_SESSION['register'] = "false";
	}
}
if(isset($_REQUEST['msg'])){
	echo '<script language="javascript">
	alert("You have successfully send your feedback.");				
	</script>';
}

if (!isset($_SESSION['username'])) {
	$_SESSION['msg2'] = "Welcome, guest! | ";
	$_SESSION['msg1'] = "Login";
	$_SESSION['msgMember'] = "Register/Login";
}else{
	$_SESSION['msg1'] = "Logout";
	$_SESSION['msgMember'] = "Logout";
	$_SESSION['msg2'] = "Welcome, ".$_SESSION['visitor']."! | ";
}

?>